package cn.unknowpupil.init.common.enums;

/**
 * Created at 2020/10/20 by w10g <br>
 * Initialize LoginEnum ... <br>
 *
 * @author unknowpupil
 * @since 0.0.1
 */
public enum  LoginEnum {

    SUCCESS(0, "Success"),
    FAILURE(1, "Error"),
    LOGOUT(2, "Logout");
    private int code;
    private String interpret;
    LoginEnum(int code, String interpret) {
        this.code = code;
        this.interpret = interpret;
    }
    public int code() {
        return code;
    }

    public String interpret() {
        return interpret;
    }
}
